﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="UI.MainWindow"
    xmlns:ui="clr-namespace:UI"
	x:Name="Window"
	Title="3D Chess version 0.1a"
	Width="1024" Height="768" WindowState="Maximized" WindowStartupLocation="CenterScreen">
    <Window.Resources>
        
    </Window.Resources>
    <DockPanel x:Name="LayoutRoot">
        <Border Background="SkyBlue" BorderBrush="Black" 
        BorderThickness="1" DockPanel.Dock="Top">
            <Menu>
                <MenuItem Header="Game">
                    <MenuItem Header="New"></MenuItem>
                </MenuItem>
                <MenuItem Header="Move">
                    <MenuItem Header="B4" Click="B4_Click"></MenuItem>
                    <MenuItem Header="C5" Click="C5_Click"></MenuItem>
                    <MenuItem Header="B4xC5" Click="B4xC5_Click"></MenuItem>
                    <MenuItem Header="Kc6" Click="KC6_Click"></MenuItem>
                    <MenuItem Header="Kc3" Click="KC3_Click"></MenuItem>
                </MenuItem>
                <MenuItem Header="Settings">
                    <MenuItem x:Name="mnuWhiteSide" Header="White Side" IsEnabled="False" Click="WhiteSide_Click"></MenuItem>
                    <MenuItem x:Name="mnuBlackSide" Header="Black Side" IsEnabled="True" Click="BlackSide_Click"></MenuItem>
                </MenuItem> 
                <MenuItem Header="About" />
            </Menu>
        </Border>
        <Border Height="25" Background="SkyBlue"
                BorderBrush="Black" BorderThickness="1" 
                DockPanel.Dock="Top">
        </Border>
        <Border Height="25" Background="#ffff99" 
            BorderBrush="Black" BorderThickness="1" 
            DockPanel.Dock="Bottom">
            <TextBlock Foreground="black">Dock = "Bottom"
            </TextBlock>
        </Border>
        <Border Width="200" Background="PaleGreen" 
            BorderBrush="Black" BorderThickness="1" 
            DockPanel.Dock="Left">
            <TextBlock Foreground="black">Dock = "Left"
            </TextBlock>
        </Border>
        <Border Background="White" BorderBrush="Black"
                BorderThickness="1">
            <ui:View3D x:Name="ChessBoard3DView"></ui:View3D>
        </Border>
    </DockPanel>
</Window>